package starblaze.error 
{
  import starblaze.Variable;
	
  public class DuplicateVariableError extends Error
  {
    
    private var m_variable:Variable = null;
    public function get variable():Variable { return m_variable; }
    
    public function DuplicateVariableError(variable:Variable) 
    {
      super("Variable already registered: " + variable.name);
      m_variable = variable;
    }
    
  }

}
